<div data-dux="table-bind">
    <div class="dux-page-header am-cf">
        <div class="page-title">
            <form class="am-form-inline" method="get" action="{url()}">
                <div class="am-form-group">
                    <input type="text" name="username" class="am-form-field" value="{$pageMaps.username}" placeholder="搜索">
                </div>
                <div class="am-form-group">
                    <select name="status" class="am-form-field">
                        <option value="0">全部状态</option>
                        <option value="1" {$pageMaps.status == 1 ? 'selected' : ''} >申请中</option>
                        <option value="2" {$pageMaps.status == 2 ? 'selected' : ''} >已通过</option>
                        <option value="3" {$pageMaps.status == 3 ? 'selected' : ''} >未通过</option>
                    </select>
                </div>
                <div class="am-form-group">
                    <button type="submit" class="am-btn am-btn-primary am-icon-search"></button>
                </div>
            </form>
        </div>
        <div class="page-action">
            <a class="am-btn am-btn-danger" href="javascript:location.reload();"><i class="am-icon-refresh"></i></a>
        </div>
    </div>
    <div class="dux-page-table">
        <table class="am-table dux-table" data-table>
            <thead>
            <tr>
                <th>用户</th>
                <th>姓名</th>
                <th>身份证</th>
                <th>申请时间</th>
                <th>审核备注</th>
                <th class="am-text-center">审核状态</th>
                <th class="am-text-center" width="140">审核</th>
            </tr>
            </thead>
            <tbody>
            <!--loop{$list as $vo}-->
            <tr>
                <td><a data-dux="dialog-open" data-url="{url('member/MemberUser/dialogUser', ['id' => $vo.user_id])}" data-title="用户信息" data-height="250px" href="javascript:;">{$vo.show_name}</a></td>
                <td>{$vo.name}</td>
                <td>{$vo.idcard}</td>
                <td>
                    {date('Y-m-d H:i:s', $vo.create_time)}
                </td>
                <td>{$vo.remark ? $vo.remark : '无'}</td>
                <!--if{!$vo.status}-->
                <td class="am-text-center am-danger">
                    失败
                </td>
                <!--{/if}-->

                <!--if{$vo.status == 1}-->
                <td class="am-text-center am-warning">
                    审核中
                </td>
                <!--{/if}-->

                <!--if{$vo.status == 2}-->
                <td class="am-text-center am-success">
                    审核成功
                </td>
                <!--{/if}-->
                <td class="am-text-center">
                    <a class="am-btn am-btn-primary am-btn-xs" href="javascript:;" data-dux="dialog-open" data-url="{url('check', ['id' => $vo.real_id])}"  title="审核用户" data-height="320px"><i class=" am-icon-legal"></i></a>
                    <a class="am-btn am-btn-danger am-btn-xs" href="javascript:;" data-url="{url('del')}" data-id="{$vo[$pri]}" title="删除" data-del><i class=" am-icon-trash"></i></a>
                </td>
            </tr>
            <!--{/loop}-->
            <!--if{empty($list)}-->
            <tr>
                <td colspan="8" class="am-text-center">暂无实名申请</td>
            </tr>
            <!--{/if}-->
            </tbody>
        </table>
    </div>
    <div class="dux-page-foot am-cf">
        {$page}
    </div>
</div>